gempy.set_is_fault

gempy.set_is_fault(frame: GeoModel | StructuralFrame, fault_groups: list[str] | list[StructuralGroup], faults_relation_type: FaultsRelationSpecialCase = FaultsRelationSpecialCase.OFFSET_FORMATIONS, change_color: bool = True) StructuralFrame[source]

Sets given groups as fault in the structural frame of the GeoModel. It can optionally change the color of these groups.

Parameters:
  • frame (Union[GeoModel, StructuralFrame]) – GeoModel or its StructuralFrame to be modified.

  • fault_groups (Union[list[str], list[StructuralGroup]]) – Groups to be set as faults.

  • faults_relation_type (FaultsRelationSpecialCase, optional) – Faults relation type to be set. Defaults to FaultsRelationSpecialCase.OFFSET_FORMATIONS.

  • change_color (bool, optional) – If True, changes the color of the fault groups. Defaults to True.

Returns:

The updated StructuralFrame object.

Return type:

StructuralFrame

Examples using gempy.set_is_fault

Video Tutorial “code-along”: Faults

Video Tutorial "code-along": Faults

Basics: Data Classes and Modeling API

Basics: Data Classes and Modeling API

Building a Model from Scratch

Building a Model from Scratch

Grids: Regular, Octree, and Custom

Grids: Regular, Octree, and Custom

2D Visualization: Sections and Custom Plots

2D Visualization: Sections and Custom Plots

3D Visualization: Interactive Model and Custom Plots

3D Visualization: Interactive Model and Custom Plots

Populating a Structural Model with Properties

Populating a Structural Model with Properties

Analyzing Geomodel Topology

Analyzing Geomodel Topology

Model 5 - Fault

Model 5 - Fault

Model 7 - Combination

Model 7 - Combination

Set of more complex examples

Set of more complex examples

Alès Basin, France

Alès Basin, France

Claudius, Queensland, Australia

Claudius, Queensland, Australia

Hecho, Spanish Pyrenees

Hecho, Spanish Pyrenees

Perth Basin, Western Australia

Perth Basin, Western Australia